import request from '@/utils/request'

// 查询活动风采管理列表
export function listHealthActivity(query) {
  return request({
    url: '/health/healthActivity/list',
    method: 'get',
    params: query
  })
}

// 查询活动风采管理详细
export function getHealthActivity(id) {
  return request({
    url: '/health/healthActivity/' + id,
    method: 'get'
  })
}

// 新增活动风采管理
export function addHealthActivity(data) {
  return request({
    url: '/health/healthActivity',
    method: 'post',
    data: data
  })
}

// 修改活动风采管理
export function updateHealthActivity(data) {
  return request({
    url: '/health/healthActivity',
    method: 'put',
    data: data
  })
}

// 删除活动风采管理
export function delHealthActivity(id) {
  return request({
    url: '/health/healthActivity/' + id,
    method: 'delete'
  })
}
